package com.etime.shycourse.orde.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 *
 * </p>
 *
 * @author wb
 * @since 2022-01-12
 */
@ApiModel(value = "Buycar对象", description = "购物车")
public class Buycar implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "buycarid", type = IdType.AUTO)
    private Integer buycarid;

    @ApiModelProperty(value = "1--课程   2--章	 3--节	   4--课时")
    private Integer odgoodstype;

    private Integer odcourseid;

    private String odcoursename;

    private Integer odchapterid;

    private String odchaptername;

    private Integer odnodeid;

    private String odnodename;

    private Integer odlessonid;

    private String odlessonname;

    private Integer buycaruserid;

    public Integer getBuycarid() {
        return buycarid;
    }

    public void setBuycarid(Integer buycarid) {
        this.buycarid = buycarid;
    }

    public Integer getOdgoodstype() {
        return odgoodstype;
    }

    public void setOdgoodstype(Integer odgoodstype) {
        this.odgoodstype = odgoodstype;
    }

    public Integer getOdcourseid() {
        return odcourseid;
    }

    public void setOdcourseid(Integer odcourseid) {
        this.odcourseid = odcourseid;
    }

    public String getOdcoursename() {
        return odcoursename;
    }

    public void setOdcoursename(String odcoursename) {
        this.odcoursename = odcoursename;
    }

    public Integer getOdchapterid() {
        return odchapterid;
    }

    public void setOdchapterid(Integer odchapterid) {
        this.odchapterid = odchapterid;
    }

    public String getOdchaptername() {
        return odchaptername;
    }

    public void setOdchaptername(String odchaptername) {
        this.odchaptername = odchaptername;
    }

    public Integer getOdnodeid() {
        return odnodeid;
    }

    public void setOdnodeid(Integer odnodeid) {
        this.odnodeid = odnodeid;
    }

    public String getOdnodename() {
        return odnodename;
    }

    public void setOdnodename(String odnodename) {
        this.odnodename = odnodename;
    }

    public Integer getOdlessonid() {
        return odlessonid;
    }

    public void setOdlessonid(Integer odlessonid) {
        this.odlessonid = odlessonid;
    }

    public String getOdlessonname() {
        return odlessonname;
    }

    public void setOdlessonname(String odlessonname) {
        this.odlessonname = odlessonname;
    }

    public Integer getBuycaruserid() {
        return buycaruserid;
    }

    public void setBuycaruserid(Integer buycaruserid) {
        this.buycaruserid = buycaruserid;
    }

    @Override
    public String toString() {
        return "Buycar{" +
                "buycarid=" + buycarid +
                ", odgoodstype=" + odgoodstype +
                ", odcourseid=" + odcourseid +
                ", odcoursename=" + odcoursename +
                ", odchapterid=" + odchapterid +
                ", odchaptername=" + odchaptername +
                ", odnodeid=" + odnodeid +
                ", odnodename=" + odnodename +
                ", odlessonid=" + odlessonid +
                ", odlessonname=" + odlessonname +
                ", buycaruserid=" + buycaruserid +
                "}";
    }
}
